from django.urls import path
from . import views 
urlpatterns = [
    path('index/',views.IndexView.as_view()),
    path('list/category/<int:category_id>/skus/',views.ListView.as_view()),
    path('search/',views.MySearchView.as_view()),
    path('hot/<int:category_id>/',views.HotGoodsView.as_view()),
    path('detail/<int:sku_id>/',views.DetailView.as_view()),
    path('detail/<int:sku_id>/api/',views.DetailAPIView.as_view()),
    path('comments/<int:sku_id>/',views.CommentView.as_view()),
    path('detail/visit/<category_id>/',views.CategoryVisitCountView.as_view()),

]